package com.hanserwei.han_picture.domain.request.user;

import com.hanserwei.han_picture.domain.common.PageRequest;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;

/**
 * 用户查询请求(分页)
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class UserQueryRequest extends PageRequest implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * 用户 id
     */
    @Schema(description = "用户 id")
    private Long id;
    /**
     * 用户昵称
     */
    @Schema(description = "用户昵称")
    private String userName;
    /**
     * 用户账号
     */
    @Schema(description = "用户账号")
    private String userAccount;
    /**
     * 用户简介
     */
    @Schema(description = "用户简介")
    private String userProfile;
    /**
     * 用户角色: user/admin
     */
    @Schema(description = "用户角色: user/admin")
    private String userRole;
}